package JQhomework1;
//二维数组
public class Test06 {
    public static void main(String[] args) {
        int [] [] array ={{1,2,3,4,5},{6,7,8,9,0},{11,12,13,14,15}};
        System.out.println(array[1] [2]);

        int[] [] array1=new int[3][];
        array1[1]=new int[5];
        System.out.println(array1[1] [2]);

        for (int i = 0; i < array.length; i++) {
            System.out.println(array[i]);
            for (int j = 0; j < array[i].length; j++) {
                System.out.println(array[i] [j]);
            }
        }
    }
}
